<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html"%>
    <script type="text/javascript" src="${ctx}/appjs/tenant/org/org.js"></script>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
		return '<br><h3>组织管理</h3>' +
				'<ol class="breadcrumb">' +
				'<li class="breadcrumb-item">' +
				'<a href="">主页</a>' +
				'</li>' +
				'<li class="breadcrumb-item">' +
				'<a>系统管理</a>' +
				'</li>' +
				'<li class="breadcrumb-item">' +
				'<strong>组织管理</strong>' +
				'</li>' +
				'<li class="breadcrumb-item">' +
				'<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
				'</li>' +
				'</ol>';
    });
</script>

<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5><strong>修改资料</strong></h5>
						<div class="ibox-tools">
							<a class="close-link">
								<i class="fa fa-times"></i>
							</a>
						</div>
					</div>
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="frmOrg">
                            <input id="parentId" name="parentId" type="hidden"	value="${parentId}" />
							<input id="tenantOrgId" name="tenantOrgId" type="hidden" value="${organization.tenantOrgId}" />
							<div class="form-group">
								<label class="col-sm-3 control-label ">上级组织：</label>
								<div class="col-sm-8">
									<input id="" name="" class="form-control" type="text"
										   value="${parentName}" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">部门组织：</label>
								<div class="col-sm-8">
									<input id="orgName" name="orgName" value="${organization.orgName}"
										class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">说明：</label>
								<div class="col-sm-8">
									<input id="remarks" name="remarks" value="${organization.remarks}"
										class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
    <script type="text/javascript">
        editOrg.init();
    </script>
</body>
</html>
